<?php
include_once("config.php");
class DataProvider
{
	public static function ExecuteQuery($sql)
	{
		$connection = mysql_connect(HOST,USER,PASSWORD) or die ("counldt connect to localhost");
		mysql_select_db(DATABASE,$connection);
		mysql_query("set names 'utf8'");
		$result = mysql_query($sql,$connection);
		mysql_close($connection);
		return $result;
	}
}
//echo HOST;
?> 